package com.itheima.domain;
//枚举
public enum Color {
    RED("红色", 1), GREEN("绿色", 2), BlAN("黑色", 3), YELLOW("黄色", 4);
    private String name;
    private int id;

    Color(String name, int id) {
        this.name = name;
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


}